package cn.tedu.hotel_management_system.base.json_result;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

/**
 * @author dkk
 * @date 2022/8/31
 * @desc 返回单条数据封装json
 */
@Data
public class ResultDto <T> implements Serializable {

    private static final long serialVersionUID = 8045400455748714437L;

    // 是否操作成功
    private Boolean isSuccess;

    // 返回前端消息
    private String mes;

    // 返回的单条数据
    private T data;

}
